package com.itsq.service.resources;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itsq.pojo.dto.PageUsagerecordDto;
import com.itsq.pojo.dto.UsageRecordEndDto;
import com.itsq.pojo.entity.UsageRecord;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 史先帅
 * @since 2021-01-30
 */
public interface UsageRecordService extends IService<UsageRecord> {

    public Page<UsageRecord> selUsageRecordPageFront(PageUsagerecordDto pageUsagerecordDto);

    public Page<UsageRecord> selUsageRecordPageAfter(PageUsagerecordDto pageUsagerecordDto);

    public Page<UsageRecord> selUsageRecordById(PageUsagerecordDto pageUsagerecordDto);

    public UsageRecord insertBegin(UsageRecord usageRecord);

    public List<UsageRecord> selUsageRecordStatus(UsageRecord usageRecord);

    public Integer updateEnd(UsageRecordEndDto usageRecordEndDto);

    public Integer update(UsageRecord usageRecord);

    public Integer status(UsageRecord usageRecord);

}
